package org.jeecg.modules.inventoryShelfAdjust.service.impl;

import org.jeecg.modules.inventoryShelfAdjust.entity.InventoryShelfAdjust;
import org.jeecg.modules.inventoryShelfAdjust.mapper.InventoryShelfAdjustMapper;
import org.jeecg.modules.inventoryShelfAdjust.service.IInventoryShelfAdjustService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Date;

/**
 * @Description: 理货表
 * @Author: jeecg-boot
 * @Date:   2024-01-16
 * @Version: V1.0
 */
@Service
public class InventoryShelfAdjustServiceImpl extends ServiceImpl<InventoryShelfAdjustMapper, InventoryShelfAdjust> implements IInventoryShelfAdjustService {

    @Autowired
    private InventoryShelfAdjustMapper inventoryShelfAdjustMapper;

    @Override
    public Integer getShelfAdjusCount() {
        return inventoryShelfAdjustMapper.getShelfAdjusCount(new Date());
    }
}
